#!/usr/bin/env python3
# -*- coding:utf-8 -*-

"""
@Project :gorge_walk
@File    :config.py
@Author  :kaiwu
@Date    :2022/12/15 22:50

"""


# Configuration of dimensions
# 关于维度的配置
class Config:

    # dimensionality of the sample
    # 状态维度
    STATE_SIZE = 122
    # 样本维度
    SAMPLE_DIM = 2*STATE_SIZE + 3    
    # 动作维度
    ACTION_SIZE = 4
    # 学习率
    LEARNING_RATE = 0.7
    # 折扣因子
    GAMMA = 0.9
    # epsilon-贪心选择策略的参数
    EPSILON = 0.9
    # 训练回合
    EPISODES = 10000
    # 目标网络更新频率（训练多少次和训练的Q网络同步）
    TARGET_UPDATE = 20
    # Dimension of movement action direction
    # 移动动作方向的维度
    OBSERVATION_SHAPE = 214
    # 学习需要的步数
    N_STEP = 1
    # The following configurations can be ignored
    # 以下是可以忽略的配置
    LEGAL_ACTION_SHAPE = 0
    SUB_ACTION_MASK_SHAPE = 0
    LSTM_HIDDEN_SHAPE = 0
    LSTM_CELL_SHAPE = 0

    DIM_OF_ACTION = 4
